//
//  GetSearchSpotTask.h
//  ZooNgonDoiOS
//
//  Created by Anh Jun Linh Tinh on 7/4/12.
//  Copyright (c) 2012 Personal. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RestKit/RestKit.h"

@interface GetSearchSpotTask : NSObject<RKRequestDelegate>{
    NSString * _name;
    int _limit;
    NSString * _lon;
    NSString * _lat;
}
-initWithParams:(NSString *)name lon:(NSString *)lon lat:(NSString *)lat;
-initWithParams:(NSString *)name limit:(int) limit lon:(NSString *)lon lat:(NSString *)lat;

-(void) doExecute;
@end
